Repository navigation
test(pm-console): take what the Workers list should read as from the list itself - #14290
Merged
Merged
Conversation
…list itself The test of reading the repository's list of Workers said "20" Workers and "4" reads. A change to the list on main (the decision-events Worker is now deployed by Actions, 1ea1346) made that five reads, and the console's own deploy stopped at its tests the next time the console changed (e87bfb9). The expected numbers are now taken from the file itself, read apart from the code under test: whoever changes the list changes what is expected with it. That one workflow is asked about once for two Workers is tested with a list made for it, as before. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 13 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What happened
The console's deploy for
e87bfb92c726stopped at its tests. One test said the repository's list of Workers has "20" Workers and takes "4" reads. A change to the list on main (1ea1346348: the decision-events Worker is now deployed by Actions) made that five reads. Nothing ran the console's tests for that change, so the next console change found it.What this changes
The expected numbers are taken from the file itself, read apart from the code under test, along with the Workers' names in order. Whoever changes the list changes what is expected with it. That one workflow is asked about once for two Workers is still tested with a list made for that.
Checked
bun test564 pass on main as it now stands; types; formatting.Not in this change
The console's tests run only when the console is deployed, so a change elsewhere that breaks them is found by the next console deploy, which it stops. Filed separately.
Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.